﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DocPlat.UI
{
    public partial class PrintForm : Form
    {
        string mBonDePlataNr = string.Empty;
        string mDinData = string.Empty;
        string mDenumireaBeneficiaruluiSiCodFiscal = string.Empty;
        string mCodFiscalBeneficiar = string.Empty;
        string mDenumireaBanca = string.Empty;
        string mContul = string.Empty;
        string mPlatitotul = string.Empty;
        string mIDNO = string.Empty;
        string mServiciiPrestateDe = string.Empty;
        string mAdresa = string.Empty;
        string mSumaTotala = string.Empty;

        public string BonDePlataNr
        {
            get { return mBonDePlataNr; }
            set { mBonDePlataNr = value; }
        }

        public string DinData
        {
            get { return mDinData; }
            set { mDinData = value; }
        }

        public string DenumireaBeneficiaruluiSiCodFiscal
        {
            get { return mDenumireaBeneficiaruluiSiCodFiscal; }
            set { mDenumireaBeneficiaruluiSiCodFiscal = value; }
        }
        
        public string DenumireaBanca
        {
            get { return mDenumireaBanca; }
            set { mDenumireaBanca = value; }
        }

        public string Contul
        {
            get { return mContul; }
            set { mContul = value; }
        }

        public string Platitotul
        {
            get { return mPlatitotul; }
            set { mPlatitotul = value; }
        }

        public string IDNO
        {
            get { return mIDNO; }
            set { mIDNO = value; }
        }

        public string ServiciiPrestateDe
        {
            get { return mServiciiPrestateDe; }
            set { mServiciiPrestateDe = value; }
        }

        public string Adresa
        {
            get { return mAdresa; }
            set { mAdresa = value; }
        }

        public string SumaTotala
        {
            get { return mSumaTotala; }
            set { mSumaTotala = value; }
        }


        public PrintForm()
        {
            InitializeComponent();
        }

        private void PrintForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'DBDocPlatDataSet.ServicesListForPrint' table. You can move, or remove it, as needed.
            this.ServicesListForPrintTableAdapter.Fill(this.DBDocPlatDataSet.ServicesListForPrint);
            this.PrintFormBindingSource.DataSource = this;
            this.reportViewer.RefreshReport();
        }

        private void closeButton_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }
    }
}
